<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>add</title>
	<hdjs/>
</head>
<body>
<div class="wrap">
	<div class="menu_list">
		<ul>
		    <li><a href="{|U:'index'}"  class="action">答案列表</a></li>
		    <li><a href="{|U:'add'}">发布答案</a></li>
		</ul>
	</div>
<form method="post">
	<input type="hidden" name="aid" value="{$data.aid}">
	<table class="table1 hd-form">
		<tr>
			<td>答案</td>
			<td>
				<ueditor width='800' height='100' name='answer' content="{$data.answer}"/>
			</td>
		</tr>
		<tr>
			<td>缩略图</td>
			<td>
			<upload size='2' type='jpg,jpeg,png,gif' limit='2' name='athumb'  water="0" data="$data['thumb']"/>
			</td>
		</tr>
		<tr>
			<td>发布时间</td>
			<td><input type="text" readonly="readonly" id="atime" name="atime"
 value="{$data.atime|date:'Y/m/d H:i:s',@@}"
class="w150"/></td>
			<script>
	$('#atime').calendar({format: 'yyyy/MM/dd HH:mm:ss'});
 </script>
		</tr>
		<tr>
			<td>浏览次数</td>
			<td><input type="text" name="aclick" value="{$data.aclick}"></td>
		</tr>
	</table>
	<input type="submit" value="发布" class="hd-success">
	<js file="__CONTROLLER_VIEW__/Js/js.js"/>
</form>
</div>
</body>
</html>